<template>
  <!-- 统计 -->
  <div class="tjPage">
    <div>
      <p>
        <b>{{ TjData.superviseEnterprises }}</b>
        <label>监督企业</label>
      </p>
      <p>
        <b>{{ TjData.supervisorsNumber }}</b>
        <label>监督人数</label>
      </p>
      <p>
        <b>{{ TjData.keyProjects }}</b>
        <label>重点项目</label>
      </p>
      <p>
        <b>{{ TjData.accountability }}</b>
        <label>执纪问责</label>
      </p>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: ["TjData"],
};
</script>

<style lang="scss" scoped>
.tjPage {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;

  > div {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    padding: 0 20px;
    box-sizing: border-box;
    transition: 0.5s;

    p {
      width: 100%;
      height: auto;
      overflow: hidden;
      flex: 1;
      text-align: center;
      margin: 0;

      b,
      label {
        line-height: 40px;
        width: 100%;
        display: inline-block;
        float: left;
        font-size: 16px;
        color: #d0e0fe;
      }

      b {
        line-height: 60px;
        font-size: 40px;
        font-weight: 400;
        font-family: "Bahnschrift";
      }

      &:nth-child(1) {
        b {
          color: #17b2ff;
        }
      }

      &:nth-child(2) {
        b {
          color: #fbc829;
        }
      }

      &:nth-child(3) {
        b {
          color: #0efadf;
        }
      }

      &:nth-child(4) {
        b {
          color: #ff5047;
        }
      }
    }
  }
}
</style>
